package com.study.portal.util.bean;

import java.util.ArrayList;
import java.util.List;

public class MessageInfoBean {
	private String title = "提示信息";
	private List<String> msgs = new ArrayList<String>();// 消息提示列表
	private boolean isRedirect = true;
	private String redirect;

	
	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void addMsg(String msg) {
		msgs.add(msg);
	}

	public List<String> getMsgs() {
		return msgs;
	}

	public void setMsgs(List<String> msgs) {
		this.msgs = msgs;
	}


	public boolean getIsRedirect() {
		return isRedirect;
	}

	public void setIsRedirect(boolean isRedirect) {
		this.isRedirect = isRedirect;
	}

	public String getRedirect() {
		return redirect;
	}

	public void setRedirect(String redirect) {
		this.isRedirect = true;
		this.redirect = redirect;
	}

}
